projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e665667
)
iconhelper: Plug memleak
author
Benjamin Otte
<otte@redhat.com>
Wed, 4 Jul 2018 12:40:00 +0000
(14:40 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 4 Jul 2018 13:04:04 +0000
(15:04 +0200)
gtk/gtkiconhelper.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconhelper.c
b/gtk/gtkiconhelper.c
index 502907e5fde9c18b0db177796633f2e68e5a447c..1c696a0d47006c68f75cabc78e8236961ce677fb 100644
(file)
--- a/
gtk/gtkiconhelper.c
+++ b/
gtk/gtkiconhelper.c
@@
-123,6
+123,8
@@
ensure_paintable_for_gicon (GtkIconHelper *self,
*symbolic = gtk_icon_info_is_symbolic (info);
paintable = GDK_PAINTABLE (gtk_icon_info_load_texture (info));
+ g_object_unref (info);
+
if (paintable && scale != 1)
{
GdkPaintable *orig = paintable;